package com;

/**
 * ClassName : PACKAGE_NAME.com.Computer
 * Desc : TODO
 *
 * @author : LINPQ
 * @date : 2020/12/9 18:43
 */
public class Computer {

    public Computer(){
        price = 35f;
        color = "白色";
    }

    public Computer(float price, String color, String type) {
        this.price = price;
        this.color = color;
        this.type = type;
    }

    KeyBoard keyBoard;

    float price;
    String color;
    String type;














    public void turnOn(){
        System.out.println("开机！");
    }

    public void turnOff(){
        System.out.println("关机！");
    }
}
